﻿using System;

namespace SapaFinance.Domain.Model
{
    public class Identity : AbstractEntity
    {
        public virtual User User { get; private set; }
        public virtual DateTime DateTime { get; private set; }

        protected Identity(){}
        public Identity(User user):this()
        {
            User = user;
            DateTime = DateTime.Now;
        }

   

        //public override string ToString()
        //{
        //    return String.Format("{0} {1}", User.FullName, DateTime);
        //}

    }


}